#include("../layout.html")
#set(PATH='/chpgl')
#@layout()

#define css()
<link href="#(CTX)/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
#end

#define js()
<!-- Bootstrap table -->
<script src="#(CTX)/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="#(CTX)/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="#(CTX)/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>

<!-- jquery.form -->
<script src="#(CTX)/js/plugins/form/jquery.form.min.js"></script>

<script src="#(CTX)/js/plugins/layer/layer.min.js"></script>

<script src="#(CTX)/youPu/static/chpgl/chpgl.js"></script>
<script src="#(CTX)/youPu/static/chpgl/chpgl_form.js"></script>


#end

#define content()
<div class="row">
    <div class="col-md-12 col-lg-12">
        <div class="ibox float-e-margins nomargin">
            <div class="ibox-title">
                <h2 style="display: inline; padding-right: 10px">商品管理</h2>
                <button id="btnAdd" class="btn btn-success" type="button">新增</button>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12" style="padding:10px 30px 10px 30px;">
                        <form id="serch-form" role="form" class="form-inline" >
                            <div class="form-group">
                                <label  class="control-label" style="text-align: right">&emsp;&emsp;&emsp;商品ID:</label>
                                <input type="text" class="form-control" id="gyshchpId" name="gyshchpId" style="width: 180px;">
                            </div>
                            <div class="form-group">
                                <label class="control-label" style="text-align: right">&emsp;&emsp;&emsp;&emsp;标题:</label>
                                <input type="text" class="form-control" id="bt" name="bt" style="width: 180px;">
                            </div>
                            <div class="form-group">
                                <label class="control-label" style="text-align: right">&emsp;&emsp;&emsp;&emsp;&emsp;类型:</label>
                                <select class="form-control" name="title" style="width: 180px;">
                                    <option value="">全部</option>
                                </select>
                            </div>

                            <div id="condition1" style="display: none">
                                <br><br>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;&emsp;&emsp;状态:</label>
                                    <select class="form-control" name="title" style="width: 180px;">
                                        <option value="">全部</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label  class="control-label" style="text-align: right">&emsp;&emsp;&emsp;供应商:</label>
                                    <input type="text" class="form-control" style="width: 180px;">
                                </div>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;&emsp; POI状态:</label>
                                    <input type="text" class="form-control" style="width: 180px;">
                                </div>
                                <br><br>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;入库方式:</label>
                                    <select class="form-control" name="title" style="width: 180px;">
                                        <option value="">全部</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;商品标签:</label>
                                    <select class="form-control" name="title" style="width: 180px;">
                                        <option value="">全部</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;推荐到行程:</label>
                                    <select class="form-control" name="title" style="width: 180px;">
                                        <option value="">全部</option>
                                    </select>
                                </div>
                            </div>

                            <div id="condition2" style="display: none">
                                <br><br>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;出发时间:</label>
                                    <input type="text" id="chfStart" class="laydate-icon form-control" style="width: 180px;">
                                    <span>至</span>
                                    <input type="text" id="chfEnd" class="laydate-icon form-control" style="width: 180px;">
                                </div>
                                <br><br>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;&emsp;目的地:</label>
                                    <select class="form-control" name="title" style="width: 180px;">
                                        <option value="">全部</option>
                                    </select>
                                </div>
                                <br><br>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;更新时间:</label>
                                    <input type="text" id="gxStart" class="laydate-icon form-control" style="width: 180px;">
                                    <span>至</span>
                                    <input type="text" id="gxEnd" class="laydate-icon form-control" style="width: 180px;">
                                </div>
                                <br><br>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">&emsp;&emsp;创建时间:</label>
                                    <input type="text" id="chjStart" class="laydate-icon form-control" style="width: 180px;">
                                    <span>至</span>
                                    <input type="text" id="chjEnd" class="laydate-icon form-control" style="width: 180px;">
                                </div>
                                <br><br>
                                <div class="form-group">
                                    <label class="control-label" style="text-align: right">销售价格范围:</label>
                                    <input type="text"  class="laydate-icon form-control" style="width: 180px;">
                                    <span>至</span>
                                    <input type="text"  class="laydate-icon form-control" style="width: 180px;">
                                </div>
                            </div>

                            <div class="form-group" style="float: right">
                                <button id="btnMore" class="btn btn-success" type="button">更多</button>
                                <button id="btnSearch" class="btn btn-primary" type="button" style="margin-left:5px;">查询</button>
                                <button id="btnReset" class="btn btn-default" type="button" style="margin-left:5px;">重置</button>
                            </div>

                        </form>
                    </div>
                </div>
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <!-- Example Rowstyle -->
                        <div class="example-wrap margin-sm-0">
                            <div class="example">
                                <table id="table">
                                </table>
                            </div>
                        </div>
                        <!-- End Example Rowstyle -->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 编辑新增对话框,如有需要请导出到对应的对话框文件中 -->

#include("chpgl_form.html")
#end